package cn.tedu.jxc.pojo.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
public class Log implements Serializable {
    private Integer id;
    private String username;
    private String ip;
    @JsonFormat(pattern = "yyyy年MM月dd日")
    private LocalDateTime created;
    private String operation;
    private String method;
    private String params;
    private Long time;
    private Integer status;
    private String error;
}